package com.cn.reportforms.service;

import com.cn.reportforms.entity.ExportSetting;
import com.cn.reportforms.entity.ExportSettingQuery;
import com.cn.reportforms.entity.ExportSettingWithBLOBs;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * 描述：
 *
 * @author chen_q_i@163.com
 * 2019/4/18 : 20:38.
 * @version : 1.0
 */
public interface ExportSettingService {

    int countByExample(ExportSettingQuery example);

    int deleteByExample(ExportSettingQuery example);

    int deleteByPrimaryKey(Long id);

    int insert(ExportSettingWithBLOBs record);

    int insertSelective(ExportSettingWithBLOBs record);

    List<ExportSettingWithBLOBs> selectByExampleWithBLOBs(ExportSettingQuery example);

    List<ExportSetting> selectByExample(ExportSettingQuery example);

    ExportSettingWithBLOBs selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") ExportSettingWithBLOBs record, @Param("example") ExportSettingQuery example);

    int updateByExampleWithBLOBs(@Param("record") ExportSettingWithBLOBs record, @Param("example") ExportSettingQuery example);

    int updateByExample(@Param("record") ExportSetting record, @Param("example") ExportSettingQuery example);

    int updateByPrimaryKeySelective(ExportSettingWithBLOBs record);

    int updateByPrimaryKeyWithBLOBs(ExportSettingWithBLOBs record);

    int updateByPrimaryKey(ExportSetting record);

    List<Map<String,Object>> selectBySqlStr(@Param("sqlStr") String sqlStr);

}
